<?php	
	// Interface function	
	function oh_module_debug($tokens) {		
		global $oh_object_debug;
		return $oh_object_debug;
	} 

	// Option file required
	//require_once($oh['path']."/modules/xml/xml2array.php");
	
	// Main class of module
	class oh_class_debug {		
		function oh_class_debug() {
		}
		function list_object() {
			$oh_list_object = array();
			foreach($GLOBALS as $key=>$value) {
				if (substr($key,0,9) == "oh_object") {
					$oh_list_object[] = $key;
				}
			}			
			return $oh_list_object;
		}
	}
	
	// Main object of module
	global $oh_object_debug;
	$oh_object_debug = new oh_class_debug();
?>
